/****************
"Global" CSS
****************/
body {
	margin: 0;
	height: 100%;
}
select, textarea {
	resize: none;
	color: black;
	background: white;
	border: none;
}
a {
	color: black;
	text-decoration: none;
	font-weight: bold;
}
a:hover {
	text-decoration: underline;
}


/* Navigation bar specifix*/
#navigation {
		background:#fff;
		border-bottom:2px solid #000;
		overflow:hidden;
		background-color: gray;
		top: 0px;
		width: 100%;
		z-index: 1;
}
#navigation ul {
	clear:left;
	float:left;
	list-style:none;
	margin:0;
	padding:0;
	position:relative;
	left:50%;
	text-align:center;
}
#navigation ul li {
	display:block;
	float:left;
	list-style:none;
	margin:0;
	padding:0;
	position:relative;
	right:50%;
}
#navigation ul li a {
	display:block;
	margin:0 0 0 1px;
	padding:3px 10px;
	background:#ddd;
	color:#000;
	text-decoration:none;
	line-height:1.3em;
}
#navigation ul li a:hover {
	background: white;
	color:black;
}
#navigation ul li a.active:hover {
	color:#fff;
	background:#000;
	font-weight:bold;
}


/*The contents ID*/
#contents {
	margin-top: 20px;
	margin-bottom: 20px;
	z-index: 1;
	height: 100%;
}


/* Error/messages CSS*/
.message {
	text-align: center;
	font-weight: bold;
	color: black;
	display:block;
	width: 100%;
	margin-top: -20px;
	vertical-align: middle;
}
.message p {
	margin-top: 0;
}
.red {
	background-color: red;
}
.green {
	background-color: #33CC66;
}


/* The div that defines size etc on most pages */
div .size {
	min-width: 650px;
	width: 650px;
	overflow: hidden;
	margin-bottom: 10px;
	border: 10px solid transparent;
}


/* post/comment layout */
.layout {
	margin-bottom: 10px;
	height: 100%;
	border-bottom: 5px solid black;	
}


/* Top ten CSS*/
div .topten {

	width: 200px;
	min-width: 200px;
	float: left;
	border: 10px solid transparent;
	position: fixed;
	word-wrap: break-word;
}


/* login / forgot password */

div .login {
	width: 300px;
	border: 10px solid #ddd;
}


/* Blog post spesifix */
#blogPost p {
	font-weight: bold;
}
.commentName {
	font-weight: bold;
	width: 100%;
}
.byLine, .timestamp, .deleteLink{
	float: right;
}
.commentsLink, .reportLink, .commentName {
	float: left;
}
.clear:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.deletePost {
	float: right;
	margin-top: -50px;
	margin-right: 15px;
}


/*Table specifix*/
.table {
	border: 1px solid gray;
	border-collapse: collapse;

}
.table th {
	width: 140px;
	border: 1px solid black;
	text-align: center;
	background: gray;
}
.table td {
	border: 1px solid gray;
	padding: 4px;
}


/* profile change/create/preview specifix */
div .profilePicture {
	border: 10px solid transparent;
	float: left;
}
#userInfo {
	border: 10px solid transparent;
}
.input label {
	display: block;
	float: left;
	width: 145px;
}
#form {
	margin-left: 30%;
}


/* Footer ID*/
#footer {
margin-top: 2%;
text-align: center;
background-color: gray;
bottom: 0px;
position: fixed;
width: 100%;
}


/* color themes */
.default {
	background: #ddd;
	color: black;
	border-bottom: 5px solid black;
}
.hellner {
	background: blue;
	color: yellow;
	border-bottom: 5px solid yellow;
}
.northug {
	background: red;
	color: white;
	border-bottom: 5px solid blue;
}


/* Helpers */
.leftAlign {
	text-align: left;
}
.rightAlign {
	text-align: right;
}
.centered {
	margin-left:auto;
	margin-right:auto;
}